package com.qfedu.stussm.dao;

import com.qfedu.stussm.entity.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminDao {
    Admin login (String name);
    /**
     * 修改*/
    int update (Admin admin);
    /**
     * 修改密码*/
    int updatePwd(@Param("a_id") int id, @Param("newPwd")String newPwd, @Param("oldPwd") String oldPwd);
}
